# NW.js #
## nw配置文件package.json ##
	{
		"name": "HD",
		"main": "withMaterialize.html",
		"author": "623636245",
		"window": {
			"title": "HD",
			"toolbar": true,
			"frame":true,
			"width": 800,
			"height": 600,
			"icon":"./img/Icon-Web.jpg"
		}
	}

## 创建子窗口 ##
nw.Window.open('要打开的html文件',{配置参数},回调函数);

	nw.Window.open('Canvas.html', {
            position: 'center',
            frame: true,
            resizable: true,
            width: screenDefaultWidth,
            height: screenDefaultHeight
        }, function (new_win) {
			sonWin = new_win;
            sonWin.moveTo(0, 0);
        });

## 获取子窗口对象 ##

	sonWin.window.alert("I'm son window");